package com.dkm.ec.so.persistence.entity;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:退货换货单 Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-06-16 20:18:50
 */
 @ITable(name="returnEntity",code="t_return_entity")
public class ReturnEntityTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*ID*/
	@IField(name="bizType",column="biz_type_")
	protected String  bizType; 		/*业务类型。return=退货；exchange=换货。*/
	@IField(name="meId",column="me_id_")
	protected String  meId; 		/*会员ID*/
	@IField(name="reasonName",column="reason_name_")
	protected String  reasonName; 		/*顾客 - 退款理由名称*/
	@IField(name="soId",column="so_id_")
	protected String  soId; 		/*订单 ID*/
	@IField(name="soNo",column="so_no_")
	protected String  soNo; 		/*订单号*/
	@IField(name="skuName",column="sku_name_")
	protected String  skuName; 		/*退货的SKU 名称*/
	@IField(name="skuKey",column="sku_key_")
	protected String  skuKey; 		/*退货的SKU KEY*/
	@IField(name="skuCloudPath",column="sku_cloud_path_")
	protected String  skuCloudPath; 		/*sku_cloud_path_*/
	@IField(name="skuCount",column="sku_count_")
	protected Integer  skuCount; 		/*退货数量。默认是 1*/
	@IField(name="shipName",column="ship_name_")
	protected String  shipName; 		/*BI 快递公司名称。同订单的发货单，从数据字典中选择，但页面做处理，即允许顾客自己输入快递公司名称。*/
	@IField(name="trackingNo",column="tracking_no_")
	protected String  trackingNo; 		/*BI 物流单号*/
	@IField(name="shipAmount",column="ship_amount_")
	protected java.math.BigDecimal  shipAmount; 		/*运费补偿*/
	@IField(name="biSoNo",column="bi_so_no_")
	protected String  biSoNo; 		/*BI - SKU所属BI 订单号*/
	@IField(name="biReturnId",column="bi_return_id_")//退货联系人
	protected String  biReturnId; 		/*BI 退货单 ID*/
	@IField(name="exSkuKey",column="ex_sku_key_")//退货电话
	protected String  exSkuKey; 		/*换货 - SKU KEY*/
	@IField(name="exCount",column="ex_count_")
	protected Integer  exCount; 		/*换货 - 数量*/
	@IField(name="exAmount",column="ex_amount_")
	protected java.math.BigDecimal  exAmount; 		/*换货 - 金额补偿*/
	@IField(name="exBiNo",column="ex_bi_no_")
	protected String  exBiNo; 		/*换货 - BI 订单*/
	@IField(name="exShipName",column="ex_ship_name_")
	protected String  exShipName; 		/*换货 - BI 快递公司名称。同订单的发货单，从数据字典中选择，但页面做处理，即允许顾客自己输入快递公司名称。*/
	@IField(name="exTrackingNo",column="ex_tracking_no_")
	protected String  exTrackingNo; 		/*换货 - BI 物流单号*/
	@IField(name="needReturn",column="need_return_")
	protected char  needReturn; 		/*是否需要回寄商品*/
	@IField(name="returnAddr",column="return_addr_")
	protected String  returnAddr; 		/*客服 - 回寄地址*/
	@IField(name="payType",column="pay_type_")
	protected String  payType; 		/*人工退款支付方式。alipay=支付宝；bank=银行转账*/
	@IField(name="account",column="account_")
	protected String  account; 		/*人工退款帐号信息*/
	@IField(name="refundAmount",column="refund_amount_")
	protected java.math.BigDecimal  refundAmount; 		/*财务 - 应退款金额*/
	@IField(name="status",column="status_")
	protected String  status; 		
	/*状态。awaiting=待审核；not_pass=审核不通过；
	service_pass=客服已审；consign=已发货
	receive=已收货；done=完成退款；exchange=已换货*/
	@IField(name="createBy",column="create_by_")
	protected String  createBy; 		/*创建者*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	@IField(name="updateBy",column="update_by_")
	protected String  updateBy; 		/*更新者*/
	@IField(name="updateTime",column="update_time_")
	protected java.util.Date  updateTime; 		/*更新时间*/
	@IField(name="exStatus",column="ex_status_")
	protected String  exStatus; 		/*原路退款状态。success=成功，error=失败,process=处理中*/
	@IField(name="losDed",column="los_ded_")
	protected java.math.BigDecimal  losDed; 		/*损耗扣除*/
	
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setBizType(String bizType) 
	{
		this.bizType = bizType;
	}
	/**
	 * 返回 业务类型。return=退货；exchange=换货。
	 * @return
	 */
	public String getBizType() 
	{
		return this.bizType;
	}
	public void setMeId(String meId) 
	{
		this.meId = meId;
	}
	/**
	 * 返回 会员ID
	 * @return
	 */
	public String getMeId() 
	{
		return this.meId;
	}
	public void setReasonName(String reasonName) 
	{
		this.reasonName = reasonName;
	}
	/**
	 * 返回 顾客 - 退款理由名称
	 * @return
	 */
	public String getReasonName() 
	{
		return this.reasonName;
	}
	public void setSoId(String soId) 
	{
		this.soId = soId;
	}
	/**
	 * 返回 订单 ID
	 * @return
	 */
	public String getSoId() 
	{
		return this.soId;
	}
	public void setSoNo(String soNo) 
	{
		this.soNo = soNo;
	}
	/**
	 * 返回 订单号
	 * @return
	 */
	public String getSoNo() 
	{
		return this.soNo;
	}
	public void setSkuName(String skuName) 
	{
		this.skuName = skuName;
	}
	/**
	 * 返回 退货的SKU 名称
	 * @return
	 */
	public String getSkuName() 
	{
		return this.skuName;
	}
	public void setSkuKey(String skuKey) 
	{
		this.skuKey = skuKey;
	}
	/**
	 * 返回 退货的SKU KEY
	 * @return
	 */
	public String getSkuKey() 
	{
		return this.skuKey;
	}
	public void setSkuCloudPath(String skuCloudPath) 
	{
		this.skuCloudPath = skuCloudPath;
	}
	/**
	 * 返回 sku_cloud_path_
	 * @return
	 */
	public String getSkuCloudPath() 
	{
		return this.skuCloudPath;
	}
	public void setSkuCount(Integer skuCount) 
	{
		this.skuCount = skuCount;
	}
	/**
	 * 返回 退货数量。默认是 1
	 * @return
	 */
	public Integer getSkuCount() 
	{
		return this.skuCount;
	}
	public void setShipName(String shipName) 
	{
		this.shipName = shipName;
	}
	/**
	 * 返回 BI 快递公司名称。同订单的发货单，从数据字典中选择，但页面做处理，即允许顾客自己输入快递公司名称。
	 * @return
	 */
	public String getShipName() 
	{
		return this.shipName;
	}
	public void setTrackingNo(String trackingNo) 
	{
		this.trackingNo = trackingNo;
	}
	/**
	 * 返回 BI 物流单号
	 * @return
	 */
	public String getTrackingNo() 
	{
		return this.trackingNo;
	}
	public void setShipAmount(java.math.BigDecimal shipAmount) 
	{
		this.shipAmount = shipAmount;
	}
	/**
	 * 返回 运费补偿
	 * @return
	 */
	public java.math.BigDecimal getShipAmount() 
	{
		return this.shipAmount;
	}
	public void setBiSoNo(String biSoNo) 
	{
		this.biSoNo = biSoNo;
	}
	/**
	 * 返回 BI - SKU所属BI 订单号
	 * @return
	 */
	public String getBiSoNo() 
	{
		return this.biSoNo;
	}
	public void setBiReturnId(String biReturnId) 
	{
		this.biReturnId = biReturnId;
	}
	/**
	 * 返回 BI 退货单 ID
	 * @return
	 */
	public String getBiReturnId() 
	{
		return this.biReturnId;
	}
	public void setExSkuKey(String exSkuKey) 
	{
		this.exSkuKey = exSkuKey;
	}
	/**
	 * 返回 换货 - SKU KEY
	 * @return
	 */
	public String getExSkuKey() 
	{
		return this.exSkuKey;
	}
	public void setExCount(Integer exCount) 
	{
		this.exCount = exCount;
	}
	/**
	 * 返回 换货 - 数量
	 * @return
	 */
	public Integer getExCount() 
	{
		return this.exCount;
	}
	public void setExAmount(java.math.BigDecimal exAmount) 
	{
		this.exAmount = exAmount;
	}
	/**
	 * 返回 换货 - 金额补偿
	 * @return
	 */
	public java.math.BigDecimal getExAmount() 
	{
		return this.exAmount;
	}
	public void setExBiNo(String exBiNo) 
	{
		this.exBiNo = exBiNo;
	}
	/**
	 * 返回 换货 - BI 订单
	 * @return
	 */
	public String getExBiNo() 
	{
		return this.exBiNo;
	}
	public void setExShipName(String exShipName) 
	{
		this.exShipName = exShipName;
	}
	/**
	 * 返回 换货 - BI 快递公司名称。同订单的发货单，从数据字典中选择，但页面做处理，即允许顾客自己输入快递公司名称。
	 * @return
	 */
	public String getExShipName() 
	{
		return this.exShipName;
	}
	public void setExTrackingNo(String exTrackingNo) 
	{
		this.exTrackingNo = exTrackingNo;
	}
	/**
	 * 返回 换货 - BI 物流单号
	 * @return
	 */
	public String getExTrackingNo() 
	{
		return this.exTrackingNo;
	}
	public void setNeedReturn(char needReturn) 
	{
		this.needReturn = needReturn;
	}
	/**
	 * 返回 是否需要回寄商品
	 * @return
	 */
	public char getNeedReturn() 
	{
		return this.needReturn;
	}
	public void setReturnAddr(String returnAddr) 
	{
		this.returnAddr = returnAddr;
	}
	/**
	 * 返回 客服 - 回寄地址
	 * @return
	 */
	public String getReturnAddr() 
	{
		return this.returnAddr;
	}
	public void setPayType(String payType) 
	{
		this.payType = payType;
	}
	/**
	 * 返回 人工退款支付方式。alipay=支付宝；bank=银行转账
	 * @return
	 */
	public String getPayType() 
	{
		return this.payType;
	}
	public void setAccount(String account) 
	{
		this.account = account;
	}
	/**
	 * 返回 人工退款帐号信息
	 * @return
	 */
	public String getAccount() 
	{
		return this.account;
	}
	public void setRefundAmount(java.math.BigDecimal refundAmount) 
	{
		this.refundAmount = refundAmount;
	}
	/**
	 * 返回 财务 - 应退款金额
	 * @return
	 */
	public java.math.BigDecimal getRefundAmount() 
	{
		return this.refundAmount;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 状态。awaiting=待审核；edit=待编辑；not_pass=审核不通过；service_pass=客服已审；mgr_pass=主管确认；mgr_pass_direct=主管确认和无需退货；receive=已收货；not_right=商品有误或过期（20天）未收到回寄商品；close=关闭；done=完成退款；exchange=已换货
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}
	/**
	 * 返回 创建者
	 * @return
	 */
	public String getCreateBy() 
	{
		return this.createBy;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}
	/**
	 * 返回 更新者
	 * @return
	 */
	public String getUpdateBy() 
	{
		return this.updateBy;
	}
	public void setUpdateTime(java.util.Date updateTime) 
	{
		this.updateTime = updateTime;
	}
	/**
	 * 返回 更新时间
	 * @return
	 */
	public java.util.Date getUpdateTime() 
	{
		return this.updateTime;
	}
	public void setExStatus(String exStatus) 
	{
		this.exStatus = exStatus;
	}
	/**
	 * 返回 原路退款状态。success=成功，error=失败,process=处理中
	 * @return
	 */
	public String getExStatus() 
	{
		return this.exStatus;
	}
	public void setLosDed(java.math.BigDecimal losDed) 
	{
		this.losDed = losDed;
	}
	/**
	 * 返回 损耗扣除
	 * @return
	 */
	public java.math.BigDecimal getLosDed() 
	{
		return this.losDed;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("bizType", this.bizType) 
		.append("meId", this.meId) 
		.append("reasonName", this.reasonName) 
		.append("soId", this.soId) 
		.append("soNo", this.soNo) 
		.append("skuName", this.skuName) 
		.append("skuKey", this.skuKey) 
		.append("skuCloudPath", this.skuCloudPath) 
		.append("skuCount", this.skuCount) 
		.append("shipName", this.shipName) 
		.append("trackingNo", this.trackingNo) 
		.append("shipAmount", this.shipAmount) 
		.append("biSoNo", this.biSoNo) 
		.append("biReturnId", this.biReturnId) 
		.append("exSkuKey", this.exSkuKey) 
		.append("exCount", this.exCount) 
		.append("exAmount", this.exAmount) 
		.append("exBiNo", this.exBiNo) 
		.append("exShipName", this.exShipName) 
		.append("exTrackingNo", this.exTrackingNo) 
		.append("needReturn", this.needReturn) 
		.append("returnAddr", this.returnAddr) 
		.append("payType", this.payType) 
		.append("account", this.account) 
		.append("refundAmount", this.refundAmount) 
		.append("status", this.status) 
		.append("createBy", this.createBy) 
		.append("createTime", this.createTime) 
		.append("updateBy", this.updateBy) 
		.append("updateTime", this.updateTime) 
		.append("exStatus", this.exStatus) 
		.append("losDed", this.losDed) 
		.toString();
	}
}